const url = 'https://p0.ssl.qhimg.com/t01a72262146b87165f.png';

const {Renderer, Figure2D, Mesh2D} = meshjs;

const canvas = document.querySelector('canvas');
const renderer = new Renderer(canvas);

(async function () {
  const texture = await renderer.loadTexture(url);
  const figure = new Figure2D();
  figure.rect(0, 0, 196, 256);
  const mesh = new Mesh2D(figure);
  mesh.setTexture(texture);

  mesh.translate(202, 22); // 300 - 196 / 2, 150 - 256 / 2

  renderer.drawMeshes([mesh]);
}());